package com.pingao.mp.modular.fls.service;

import com.pingao.mp.modular.fls.entity.Activity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 活动 服务类
 * </p>
 *
 * @author 闻品高
 * @since 2020-01-15
 */
public interface ActivityService extends IService<Activity> {

    Map<String,Object> getActivityList(Integer pageNumber, Integer pageSize, String searchText, String sortName, String sortOrder,Integer status);

    boolean saveActivity(Activity activity);

    boolean editActivity(Activity activity) throws Exception;

    boolean deleteActivity(List<Long> ids) throws Exception;
}
